Skip to main content

ilr_daily_status

Table: ilr_daily_status

The ilr_daily_status table stores daily temperature and status records for ILR (Ice-Lined Refrigerator) units.
It is used to monitor cold chain performance and ensure vaccines are stored under proper conditions.


Columns

Column NameData TypeConstraintsDescription
idint(11)NOT NULL, AUTO_INCREMENT, PRIMARY KEYUnique identifier for each daily ILR status record
closing_tempraturedoubleNULLILR temperature at the end of the day
date_createddatetimeNULLTimestamp when the record was created
date_editeddatetimeNULLTimestamp when the record was last edited
dateTodaydatetimeNULLThe date for which the status is recorded
date_voideddatetimeNULLTimestamp when the record was voided
dayint(11)NULLDay of the month corresponding to the record
dayendILRStatusvarchar(30)NULLStatus of ILR at the end of the day
dayendTMStatusvarchar(30)NULLTemperature monitoring status at day end
dayendTimetimeNULLTime at the end of the day when status was recorded
ilr_identifiervarchar(255)NULLIdentifier for the ILR unit
location_idint(11)NULLID of the location/center (references vaccination center or location table)
monthint(11)NULLMonth corresponding to the record
morningILRStatusvarchar(30)NULLILR status in the morning
morningTMStatusvarchar(30)NULLTemperature monitoring status in the morning
morningTimetimeNULLTime when morning status was recorded
opening_tempraturedoubleNULLILR temperature at the start of the day
userint(11)NULLID of the user who recorded the status
voidedtinyint(1)NULLFlag indicating if the record is voided (1 = voided, 0 = active)
voided_byint(11)NULLID of the user who voided the record
yearint(11)NULLYear corresponding to the record

Indexes

  1. PRIMARY - Primary key on id
  2. ilr_location_fk_idx - Index on location_id
  3. ilr_user_fk_idx - Index on user

Foreign Key Relations

  • No explicit foreign keys defined, but:

    • location_id typically references a vaccination center or location table
    • user and voided_by reference user IDs for accountability

Usage Notes

  • Tracks daily ILR temperature readings and status for cold chain monitoring.
  • opening_temprature and closing_temprature help identify temperature deviations.
  • morningILRStatus and dayendILRStatus indicate the operational status of the ILR throughout the day.
  • voided and `void*